package com.sun.dream.fish.service;

import com.sun.dream.fish.entity.TRoleEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sun.dream.fish.vo.PageResultVO;
import com.sun.dream.fish.vo.ResultVO;
import com.sun.dream.fish.vo.back.RoleVO;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author ljl
 * @since 2023-11-27
 */
public interface TRoleService extends IService<TRoleEntity> {
    ResultVO saveRole(RoleVO roleVO);

    PageResultVO<RoleVO> getRoleList(String name, String status, Integer pageNum, Integer pageSize);

    ResultVO updateRole(RoleVO roleVO);

    ResultVO deleteRole(Integer id);
}
